<template>
  <a-config-provider :locale="locale">
    <router-view/>
  </a-config-provider>
</template>

<script lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';

dayjs.locale('zh-cn');

export default {
  data() {
    return {
      locale: zhCN,
    };
  },
};

//console.log(dateFormat(new Date().getTime()))
// import $http from "@/common/util/http";
//
// const tabViewStore = useTabViewStore()
// const routerStore = useRouterStore()
//
// routerStore.$subscribe((mutation, state) => {
//   //console.log("WATCH--routerStore", state)
// })
//
// //console.log(routerStore.name)
// //console.log(tabViewStore.name)

// routerStore.name += '123'
// tabViewStore.name += '456'

// routerStore.$patch({
//   name: 'Abalam',
// })


// //console.log(routerStore.name)
// //console.log(tabViewStore.name)

// routerStore.$reset()
// tabViewStore.$reset()
// //console.log(routerStore.name)
// //console.log(tabViewStore.name)
//
// $http.postForm('/system/user/menu', {id: 10, name: 20})
//     .then((res) => {
//       //console.log(res)
//     })
</script>

<style>

</style>
